package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.result.Result;
import org.springframework.web.bind.annotation.GetMapping;

public interface DishService {
    /**
     * 菜品分页查询
     * @param dto
     * @return
     */
    public Result pageDish(DishPageQueryDTO dto);


    /**
     * 根据id查询菜品
     * @param dto
     * @return
     */
    public Result listDish(DishPageQueryDTO dishPageQueryDTO);
}
